package com.yg.order.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 订单联系人表
 * </p>
 *
 * @author 魏成龙
 * @since 2020-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("yg_order_link_user")
public class OrderLinkUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 订单id
     */
    @TableField("orderId")
    private Long orderId;

    /**
     * 联系人id
     */
    @TableField("linkUserId")
    private Long linkUserId;

    /**
     * 入住人姓名逗号分隔
     */
    @TableField("linkUserName")
    private String linkUserName;

    private Integer x;

    private Integer y;

    /**
     * 价格
     */
    private BigDecimal price;

    @TableField("createdTime")
    private LocalDateTime createdTime;

    @TableField("updatedTime")
    private Long updatedTime;


}
